package ttt.core;

import java.awt.Dimension;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.annotations.Annotations;
import com.thoughtworks.xstream.io.xml.DomDriver;

public class XStreamCommand extends XStream {

	public XStreamCommand() {
		super(new DomDriver());
		setAnnotations();
	}

	private void setAnnotations() {
		Annotations.configureAliases(this, Command.class);
		Annotations.configureAliases(this, Desk.class);
		Annotations.configureAliases(this, Status.class);		
		Annotations.configureAliases(this, Turn.class);		
	}
}
